using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 加工企业信息
    /// </summary>
    [Table("CorporateModel")]
    public class CorporateModel : BaseEntity
    {
        /// <summary>
        /// 企业名称
        /// </summary>
        [Required]
        [StringLength(200)]
        public string CorporateName { get; set; }

        /// <summary>
        /// 生产许可编号
        /// </summary>
        [StringLength(100)]
        public string Corporate { get; set; }

        /// <summary>
        /// 公司照片
        /// </summary>
        [StringLength(500)]
        public string CorporatePic { get; set; }

    }
} 